﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;

namespace PocketBook.UI.ViewModel.Contents
{
    public class FileMenuViewModel : ViewModelBase
    {
        public FileMenuViewModel(string name, RelayCommand command)
        {
            this.Name = name;
            this.MenuItemCommand = command;
        }

        private string _name;
        public string Name 
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;                
            }
        }

        private RelayCommand _menuItemCommand;
        public RelayCommand MenuItemCommand
        {
            get
            {
                return _menuItemCommand;
            }
            set
            {
                _menuItemCommand = value;
            }
        }
    }
}
